class CreateWebsiteUsers < ActiveRecord::Migration
  def self.up
    create_table :website_users do |t|
      t.column :email, :string
      t.column :encrypted_password, :string
      t.column :name, :string
      t.column :nickname, :string
      t.column :active, :boolean, :default => true
      t.column :notes, :text
      t.column :created_at, :datetime
      t.column :updated_at, :datetime
    end
  end

  def self.down
    drop_table :website_users
  end
end
